package whf.framework.resource;

import java.util.Locale;
import java.util.ResourceBundle;

/**
 * @author wanghaifeng
 *
 */
public class ResourceFactory {
	public static ResourceBundle getResourceBundle(String baseName, Locale locale){
		return ResourceBundle.getBundle(baseName, locale);
	}
	
	public static ResourceBundle getResourceBundle(String baseName){
		return ResourceBundle.getBundle(baseName, Locale.getDefault());
	}
}
